 {include file="public/header" /}
 <style type="text/css">
     .fixed-table-body{
        overflow-x:auto !important;
        overflow-y:auto !important;
    } 
#delid{ width: 30px; }
#typeid,.bs-th1{ width: 45px; text-align: center;}
#title,.bs-th2{ width: 50%; }
#img,.bs-th3{ width: 45px; }
#img img{ height: 20px; }
#laiyuan,.bs-th4{ width: 150px; }
#date{ }
.btn-outline{
    margin-bottom: 10px;
    margin-left: 10px;
}
 </style>
 <body class="gray-bg">
 <div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-md-12">
            <div class="ibox-title">
                <h5>点击你要采集的目标</h5>
            </div>
            <h4 style="padding:15px;">category参数说明:hotsoon_video推荐  ugc_video_beauty美女  ugc_video_casual自拍  ugc_video_food美食  ugc_video_life户外</h4>
            <div class="ibox-content">
                <button type="button" class="btn btn-w-m btn-outline btn-primary" onclick="caiji('hotsoon_video')">推荐</button> 
                <button type="button" class="btn btn-w-m btn-outline btn-primary" onclick="caiji('ugc_video_beauty')">美女</button> 
                <button type="button" class="btn btn-w-m btn-outline btn-primary" onclick="caiji('ugc_video_casual')">自拍</button> 
                <button type="button" class="btn btn-w-m btn-outline btn-primary" onclick="caiji('ugc_video_food')">美食</button> 
                <button type="button" class="btn btn-w-m btn-outline btn-primary" onclick="caiji('ugc_video_life')">户外</button> 
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-md-12" style="margin-top:20px">
            <div class="ibox-title caijijieguo">
            </div>
        </div>
    </div>
</div>
{include file="public/footer" /}
{load href="__PLUGINS__bootstrap/bootstrap-table.min.css"}
{load href="__PLUGINS__bootstrap/bootstrap-table.min.js"}
<script type="text/javascript">
function caiji(type){   
    var index = layer.load(0,{shade: [0.3, '#000']});
    $.ajax({
        type: 'get',
        url: '/index.php/api/caiji/svideo/category/'+type,
        dataType: 'text',
        success:function(ret){
            layer.close(index);
            $('.caijijieguo').html(ret);
            swal_msg("采集成功",'','success');
        },
        error:function(err){
           layer.close(index);
            $('.caijijieguo').html(ret);
            swal_msg("采集成功",'','success');
        }
    });
}
</script>
 
<SCRIPT Language=VBScript><!--

//--></SCRIPT>